package com.company.beauty.sms.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * <p></p >
 *
 * @author youyoukele
 * @version 1.0
 * @date 2024/4/22 18:11
 */
@Data
@Component
@ConfigurationProperties(prefix = "aliyun.sms")
@RefreshScope
public class AliyunSmsProperties {

    /**
     * Key
     */
    private String accessKeyId;

    /**
     * 秘钥
     */
    private String accessKeySecret;

    /**
     * 服务地域
     * https://next.api.aliyun.com/api/Dysmsapi/2017-05-25/QuerySmsTemplate?params={}
     */
    private String endPoint;

}
